local ChangeLog = {}

local function AddChange( String_Version, String_Change )
	table.insert(ChangeLog, { gmversion = String_Version, changes = String_Change } )
end

AddChange("1.01", "Added some configuration files") 
AddChange("1.01", "Fixed some tiny clientside and serverside errors here and there.")
AddChange("1.01", "Added gamemode hooks to call from!")
AddChange("1.01", "Tidied up init.lua a little bit, and removed some pointless code.")
AddChange("1.01", "Fixed chatcommands.")
AddChange("1.01", "Fixed version problem - FOR NOW....")
AddChange("1.01", "Fixed new players not having any jobs popup in the 'Jobs' tab")
AddChange("1.01", "Fixed me being a dumbass about PlayerLostHealth hook")
AddChange("1.01", "Fixed me forgetting that util.KeyValuesToTable lowercases strings..")
AddChange("1.01", "Fixed semi-rare occurance about auto-respawning sooner than defined time.")
AddChange("1.01", "Added stuck button to f1 menu, and some tabs as well.")
AddChange("1.01", "Fixed owners not being able to change convars through rp_")
AddChange("1.01", "Removed pointless clientside code from many files.")
AddChange("1.01", "Fixed when changing name to your same name you get lusion id added onto it.")
AddChange("1.01", "Fixed some resolution muckups. (There are still more, but this fixes many annoyances.")
AddChange("1.01", "Changed crosshair disable to the default team, and not civilian")

concommand.Add("rp_Changelog", function(pl)
	print("\n	NOTE: NOT ALL CHANGES HAVE BEEN DOCUMENTED, THEREFORE WILL NOT BE IN HERE!\n")
	for k,v in pairs(ChangeLog) do
		if string.find(v.gmversion, GAMEMODE.Version) then
			pl:PrintMessage(HUD_PRINTCONSOLE, v.changes)
		end
	end
end)
